package oa.hleast.xswl.service.chat;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import oa.hleast.xswl.pojo.domain.chat.CmsChatAutoReply;
import oa.hleast.xswl.pojo.form.chat.CmsChatAutoReplyForm;
import oa.hleast.xswl.pojo.vo.chat.CmsChatAutoReplyVo;

import java.util.List;

/**
 * @author 302
 */
public interface IChatAutoReplyService extends IService<CmsChatAutoReply> {

    boolean add(CmsChatAutoReplyForm chatAutoReplyForm);

    boolean updateReply(CmsChatAutoReplyForm chatAutoReplyForm);

    Page<CmsChatAutoReplyVo> pageListByApps(Integer page, Integer limit);

    CmsChatAutoReplyVo detail(Long id);

    boolean deleteByIds(List<String> asList);

}
